package com.br.nninn.bean;


public class Hotel {
	
	private String address = "";
	private String city = "";
	private String postalCode = "";
	private String name = "";
	private String longitude = "";
	private String latitude = "";
	private String hotelRating = "";
	private String proximityDistance = "";
	private String locationDescription = "";
	private String countryCode = "";
	private String lowRate = "";
	private String highRate = "";
	private String shortDescription = "";
	private String stateProvinceCode = "";
	private String airportCode = "";
	
	
	public String getAddress() {
		return address;
	}
	
	public void setAddress(String address) {
		this.address = address;
	}
	
	public String getCity() {
		return city;
	}
	
	public void setCity(String city) {
		this.city = city;
	}
	
	public String getPostalCode() {
		return postalCode;
	}
	
	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getLongitude() {
		return longitude;
	}
	
	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	
	public String getLatitude() {
		return latitude;
	}
	
	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
	
	public String getHotelRating() {
		return hotelRating;
	}
	
	public void setHotelRating(String hotelRating) {
		this.hotelRating = hotelRating;
	}
	
	public String getProximityDistance() {
		return proximityDistance;
	}
	
	public void setProximityDistance(String proximityDistance) {
		this.proximityDistance = proximityDistance;
	}
	
	public String getLocationDescription() {
		return locationDescription;
	}
	
	public void setLocationDescription(String locationDescription) {
		this.locationDescription = locationDescription;
	}
	
	public String getCountryCode() {
		return countryCode;
	}
	
	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	}
	
	public String getLowRate() {
		return lowRate;
	}
	
	public void setLowRate(String lowRate) {
		this.lowRate = lowRate;
	}
	
	public String getHighRate() {
		return highRate;
	}
	
	public void setHighRate(String highRate) {
		this.highRate = highRate;
	}
	
	public String getShortDescription() {
		return shortDescription;
	}
	
	public void setShortDescription(String shortDescription) {
		
		// &lt;p&gt;							=> <p>
		// &lt;b&gt;Location. &lt;/b&gt; 		=> <b>Location. </b>
		// &lt;br /&gt;							=> <br />
		// &lt;strong&gt;						=> <strong>
		// &lt;/strong&gt;						=> </strong>
		// &amp; 								=> &
		// Location.
		
		String desc = shortDescription;
		desc = desc.replaceAll("&lt;p&gt;", "");
		desc = desc.replaceAll("&lt;b&gt;Location. &lt;/b&gt;", "");
		desc = desc.replaceAll("&lt;br /&gt;", "");
		desc = desc.replaceAll("&lt;strong&gt;", "");
		desc = desc.replaceAll("&lt;/strong&gt;", "");
		desc = desc.replaceAll("&amp;", "&");
		desc = desc.replaceAll("Location.", "");
		this.shortDescription = desc;
	}
	
	public String getStateProvinceCode() {
		return stateProvinceCode;
	}
	
	public void setStateProvinceCode(String stateProvinceCode) {
		this.stateProvinceCode = stateProvinceCode;
	}
	
	public String getAirportCode() {
		return airportCode;
	}
	
	public void setAirportCode(String airportCode) {
		this.airportCode = airportCode;
	}
	
}
